﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShipRecord.aspx.cs" Inherits="AlbonWeb.Manager.OrderManager.ShipRecord" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Ship Record</title>
    <script src="/js/ADS.js" type="text/javascript"></script>
    <script src="/js/content.js" type="text/javascript"></script>
    <link href="/css/Content.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        html, body, form
        {
            height: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server" defaultbutton="btnSearch">
    <div class="rod_left">
    </div>
    <div class="rod_right">
    </div>
    <div class="main_contented">
        <div class="right_top">
            <span class="scon_word">Order>>Ship Ment</span>
        </div>
        <table width="750" border="0" class="table_add" cellpadding="0" cellspacing="0">
            <tr class="content_title">
                <td colspan="2">
                    Ship Record(Track by Tracking No)
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td style="width: 10%" align="right">
                    Tracking No:
                </td>
                <td>
                    <asp:TextBox ID="trackNo" runat="server"></asp:TextBox>
                    <asp:ImageButton ID="btnSearch" ImageUrl="/images/search.gif" runat="server" OnClick="btnSearch_Click" />
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td colspan="2">
                    <asp:Repeater ID="repShipMent" runat="server" OnItemDataBound="repShipMent_ItemDataBound">
                        <ItemTemplate>
                            <div class="messagebox">
                                <table width="60%">
                                    <tr>
                                        <td>
                                            Ship Company: <span class="lbInfo">
                                                <%#Eval("shipCompany")%></span>
                                        </td>
                                        <td>
                                            <div>
                                                Tracking No: <span class="lbInfo">
                                                    <%#Eval("shipNo")%></span>
                                                    <%--FeDex:http://www.fedex.com/Tracking?tracknumbers
                                                    DHL:http://www.dhl.com/en/express/tracking.html--%>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            Remark:
                                            <%#Eval("remark")%>
                                        </td>
                                    </tr>
                                    <td>
                                        Adder: <span class="lbInfo">
                                            <%#Eval("adder")%></span>
                                    </td>
                                    <td>
                                        ShipDate:<span class="lbInfo"><%#Eval("createDate") %></span>
                                    </td>
                                </table>
                                <div>
                                    Items in The Package:<asp:HiddenField ID="hfShipNo" runat="server" Value='<%#Eval("shipNo")%>' />
                                    <table class="tb_list" cellpadding="0" cellspacing="0" border="1" bordercolor="#AFDA8C"
                                        style="font-size: 10pt" width="50%">
                                        <asp:Repeater ID="repItem" runat="server">
                                            <HeaderTemplate>
                                                <tr class="tr_list_head" align="center">
                                                    <td>
                                                        Ref#
                                                    </td>
                                                    <td>
                                                        Item
                                                    </td>
                                                    <td>
                                                        QTY
                                                    </td>
                                                    <td>
                                                        Weight
                                                    </td>
                                                </tr>
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <tr>
                                                    <td>
                                                        <%#Eval("refNo") %>
                                                    </td>
                                                    <td>
                                                        <%#Eval("itemName") %>
                                                    </td>
                                                    <td>
                                                        <%#Eval("quantity") %>
                                                    </td>
                                                    <td>
                                                        <%#Eval("weight") %>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </table>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td>
                    &nbsp;
                </td>
                <td>
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="First" LastPageText="Last"
                        NextPageText="Next" PageIndexBoxType="DropDownList" PrevPageText="Prev" ShowBoxThreshold="15"
                        ShowCustomInfoSection="Left" ShowMoreButtons="False" SubmitButtonText="Go" TextAfterPageIndexBox=""
                        TextBeforePageIndexBox="Goto" CustomInfoClass="pageinfo" CustomInfoHTML="Current Page : %CurrentPageIndex%    Total Page: %PageCount%"
                        CustomInfoSectionWidth="30%" CustomInfoTextAlign="Left" OnPageChanging="AspNetPager1_PageChanging"
                        PageSize="3">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
            <tr class="data_lightcolor">
                <td>
                    &nbsp;
                </td>
                <td>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
